package com.zoro.k8sapp.app.consumer.controller;

import com.zoro.k8sapp.app.consumer.mapper.UserMapper;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HealthCheckController {

    private final UserMapper userMapper;

    public HealthCheckController(UserMapper userMapper) {
        this.userMapper = userMapper;
    }

    @RequestMapping("/check-health")
    public void healthCheck() {
        userMapper.getById("");
    }
}
